<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="Responsive Admin Dashboard Template">
        <meta name="keywords" content="admin,dashboard">
        <meta name="author" content="skcats">
        <!-- The above 6 meta tags *must* come first in the head; any other head content must come *after* these tags -->
        
        <!-- Title -->
        <title>Home</title>

        <!-- Styles -->
        <link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
        <link href="/houtai/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
        <link href="/houtai/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet">
        <link href="/houtai/plugins/icomoon/style.css" rel="stylesheet">
        <link href="/houtai/plugins/uniform/css/default.css" rel="stylesheet"/>
        <link href="/houtai/plugins/switchery/switchery.min.css" rel="stylesheet"/>
        <link href="/houtai/plugins/nvd3/nv.d3.min.css" rel="stylesheet">
      
        <!-- Theme Styles -->
        <link href="/houtai/css/ecaps.min.css" rel="stylesheet">
        <link href="/houtai/css/custom.css" rel="stylesheet">

        <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->
        <style>
            th{
                font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
                font-weight: bold;
                text-align: center;
            }
            td{
                text-align: center;
            }
        </style>
    </head>
    <body>
        
        <!-- Page Container -->
        <div class="page-container">

            <!-- /Page Sidebar -->
            <#include 'page-sidebar.ftl'>
            <!-- Page Content -->


            <div class="page-content">

                <!-- Page Header -->
                <#include 'page-header.ftl'>
                <!-- /Page Header -->
                <!-- Page Inner -->
                <div class="page-inner">
                    <div class="page-title">
                        <h3 class="breadcrumb-header">Latest notice</h3>
                    </div>
                    <div id="main-wrapper">
                        <div class="row">
                            <div class="col-md-12">
                                <div class="panel panel-white">
                                    <div class="panel-heading clearfix">
                                        <h4 class="panel-title">未来七天我要参加的会议</h4>
                                    </div>
                                    <div class="panel-body">
                                        <div class="table-responsive">
                                            <table class="table">
                                                <thead>
                                                <tr>
                                                    <th>会议名称</th>
                                                    <th>会议室</th>
                                                    <th>起始时间</th>
                                                    <th>结束时间</th>
                                                    <th>操作</th>
                                                </tr>
                                                </thead>
                                                <tbody>
                                                    <#if ms??>
                                                        <#list ms as m>
                                                            <tr>
                                                                <td>${m.meetingname}</td>
                                                                <td>${m.roomname}</td>
                                                                <td>${m.starttime?string('yyyy-MM-dd HH:mm:ss')}</td>
                                                                <td>${m.endtime?string('yyyy-MM-dd HH:mm:ss')}</td>
                                                                <td>
                                                                    <a class="btn btn-default" href="/meetingdetails?meetingid=${m.meetingid}">查看详情</a>
                                                                </td>
                                                            </tr>
                                                        </#list>
                                                    <#else>
                                                        <tr>未来七天不需要参加会议</tr>
                                                    </#if>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-12">
                                <div class="panel panel-white">
                                    <div class="panel-heading clearfix">
                                        <h4 class="panel-title">已取消的会议</h4>
                                    </div>
                                    <div class="panel-body">
                                        <div class="table-responsive">
                                            <table class="table table-bordered">
                                                <thead>
                                                <tr>
                                                    <th>会议名称</th>
                                                    <th>会议室</th>
                                                    <th>起始时间</th>
                                                    <th>结束时间</th>
                                                    <th>取消原因</th>
                                                    <th>操作</th>
                                                </tr>
                                                </thead>
                                                <tbody>
                                                    <#if cms??>
                                                        <#list cms as cm>
                                                            <tr>
                                                                <td>${cm.meetingname}</td>
                                                                <td>${cm.roomname}</td>
                                                                <td>${cm.starttime?string('yyyy-MM-dd HH:mm:ss')}</td>
                                                                <td>${cm.endtime?string('yyyy-MM-dd HH:mm:ss')}</td>
                                                                <td>${cm.canceledreason!"没理由"}</td>
                                                                <td>
                                                                    <a class="btn btn-default" href="/meetingdetails?meetingid=${cm.meetingid}">查看详情</a>
                                                                </td>
                                                            </tr>
                                                        </#list>
                                                    <#else>
                                                        <tr>没有取消的会议</tr>
                                                    </#if>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div><!-- Row -->
                    </div><!-- Main Wrapper -->
                    <div class="page-footer">
                        <p>Copyright &copy; 2021.Writer name JQueryZK.</p>
                    </div>


            </div><!-- /Page Content -->
        </div><!-- /Page Container -->
        
        
        <!-- Javascripts -->
        <script src="/houtai/plugins/jquery/jquery-3.1.0.min.js"></script>
        <script src="/houtai/plugins/bootstrap/js/bootstrap.min.js"></script>
        <script src="/houtai/plugins/jquery-slimscroll/jquery.slimscroll.min.js"></script>
        <script src="/houtai/plugins/uniform/js/jquery.uniform.standalone.js"></script>
        <script src="/houtai/plugins/switchery/switchery.min.js"></script>
        <script src="/houtai/plugins/d3/d3.min.js"></script>
        <script src="/houtai/plugins/nvd3/nv.d3.min.js"></script>
        <script src="/houtai/plugins/flot/jquery.flot.min.js"></script>
        <script src="/houtai/plugins/flot/jquery.flot.time.min.js"></script>
        <script src="/houtai/plugins/flot/jquery.flot.symbol.min.js"></script>
        <script src="/houtai/plugins/flot/jquery.flot.resize.min.js"></script>
        <script src="/houtai/plugins/flot/jquery.flot.tooltip.min.js"></script>
        <script src="/houtai/plugins/flot/jquery.flot.pie.min.js"></script>
        <script src="/houtai/plugins/chartjs/chart.min.js"></script>
        <script src="/houtai/js/ecaps.min.js"></script>
        <script src="/houtai/js/pages/dashboard.js"></script>

        </div>

</body>
</html>